#ifndef __SSHD_CONFIG
#define __SSHD_CONFIG 1
#include <iostream>
#include <fstream>
#include <mutex>
#include <logger.hpp>
#include <map>

#define SSH_AUTH_FILE  "ssh.auth.file"
#define SSH_PORT "ssh.port"
using namespace std;
class SSHConfig {
private:
    map<string, string> configMap;
    static SSHConfig* config;
    SSHConfig();
    SSHConfig(string file);
public:
    static SSHConfig* getConfig();
    static void reload(string file);
    string get(const string key){
        return configMap[key];
    }
    string get(const char* key){
        return configMap[key];
    }
};

#endif